﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<div style="overflow-y:auto; height:100px;">
    <table>
        <tr style="display: block; margin: 3px 0px;">
            <th width="120">
                记事提要
            </th>
            <th width="100">
                时间
            </th>
            <th width="50">
                
            </th>
        </tr>
        <%var dt = ViewData["msgdt"] as System.Data.DataTable;
          if (dt != null)
          {
              var rowCount = dt.Rows.Count;

              for (var rowIndex = 0; rowIndex < rowCount; rowIndex++)
              {%>
        <tr style="display: none;  margin:3px 0px;">
            <td width="120">
                <%=dt.Rows[rowIndex][1]%>
            </td>
            <td width="100">
                <%=dt.Rows[rowIndex][2]%>
            </td>
            <td width="50">
                <%--<%=Ajax.ActionLink("确认", "ConfirmNote", "Calender", new { noteId = dt.Rows[rowIndex][0] }, new AjaxOptions {})%>--%>
               <%-- <input type="button" onclick="" value="确认" />--%>
                <a onclick="confirmMsg(<%=dt.Rows[rowIndex][0] %>)">确认</a>
            </td>
        </tr>
        <%}
          }%>
    </table>
</div>
